﻿using System.Collections.Generic;

namespace ManagedUIFlow.Infrastructure.Flows
{
    public sealed class Navigation
    {
        public Navigation(string name, NavigationType navigationType)
        {
            Name = name;
            NavigationType = navigationType;
            Transitions = new List<Transition>();
        }

        public string Name { get; private set; }

        public NavigationType NavigationType { get; set; }

        public IList<Transition> Transitions { get; set; }
    }
}